package com.ljkj.blockpay.ui.adapter;

import androidx.annotation.NonNull;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.viewholder.BaseViewHolder;
import com.ljkj.blockpay.R;
import com.ljkj.blockpay.model.RechargeModel;

/**
 * Created by yp on 2022/3/16
 */
public class RechargeAdapter extends BaseQuickAdapter<RechargeModel.NetworkDTO, BaseViewHolder> {


    public RechargeAdapter(int layoutResId) {
        super(layoutResId);
    }

    @Override
    protected void convert(@NonNull BaseViewHolder baseViewHolder, RechargeModel.NetworkDTO rechargeModel) {
        baseViewHolder.setText(R.id.tv_net,rechargeModel.getNetworkType());
    }
}
